export default{

  handleCheckAllChange(val) {
    this.multCheckbox = val ? this.cities : [];
    this.isIndeterminate = false;
  },

  handleCheckedCitiesChange(value) {
    let checkedCount = value.length;
    this.checkAll = checkedCount === this.multCheckbox.length;
    this.isIndeterminate = checkedCount > 0 && checkedCount < this.cities.length;
  },

  handleChange(value) {
    console.log(value);
  },

  test2() {
    console.log('test2');
  }
}
